package com.punai.evaluationSystem.incomeDataEvalute.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.punai.evaluationSystem.incomeDataEvalute.bo.IncomeDataEvaluteBo;
import com.punai.evaluationSystem.incomeDataEvalute.domain.EvaluationDataPriceSr;
import com.punai.evaluationSystem.incomeDataEvalute.domain.EvaluationSrInfo;

import java.util.List;
import java.util.Map;

/**
 * infoMapper接口
 *
 * @author tj
 * @date 2023-04-18
 */
public interface EvaluationSrInfoMapper extends BaseMapper<EvaluationSrInfo>
{
    /**
     * 查询info
     *
     * @param id info主键
     * @return info
     */
    public EvaluationSrInfo selectEvaluationSrInfoById(String id);

    /**
     * 查询info列表
     *
     * @param evaluationSrInfo info
     * @return info集合
     */
    public List<EvaluationSrInfo> selectEvaluationSrInfoList(EvaluationSrInfo evaluationSrInfo);


    /**
     * 删除info
     *
     * @param id info主键
     * @return 结果
     */
    public int deleteEvaluationSrInfoById(String id);

    /**
     * 批量删除info
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEvaluationSrInfoByIds(String[] ids);

    public List<IncomeDataEvaluteBo> initTableDetailInfoData(IncomeDataEvaluteBo bo);

    Map<String, Object> findByPriceRangMaxAndMin(EvaluationDataPriceSr priceSr);
}
